package com.tbsoft.ehr.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
/**
 * @desc 项目经验
 * @author vastdream
 *
 */
@Entity
@Table(name="EHR_PROJECTEXPERIENCE")
public class ProjectExperience extends BaseEntity {
	/**
	 * 主键
	 */
	private String id;
	/**
	 * 项目名称
	 */
	private String projectName;
	/**
	 * 起始日期
	 */
	private Date dateStart;
	/**
	 * 结束日期
	 */
	private Date dateEnd;
	/**
	 * 所在公司
	 */
	private String company;
	/**
	 * 职位
	 */
	private String post;
	/**
	 * 项目简介
	 */
	private String projectSummary;
	/**
	 * 工作职责
	 */
	private String jobDuties;
	/**
	 * 主要技术
	 */
	private String mainTechnical;
	@Id
	@GeneratedValue(generator="system-uuid")
	@GenericGenerator(name="system-uuid", strategy = "uuid")
	@Column(name="PROJECTEXPERIENCE_ID",length=32)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="PROJECT_NAME",length=150)
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	@Column(name="_DATE_START")
	public Date getDateStart() {
		return dateStart;
	}
	public void setDateStart(Date dateStart) {
		this.dateStart = dateStart;
	}
	@Column(name="DATE_END")
	public Date getDateEnd() {
		return dateEnd;
	}
	public void setDateEnd(Date dateEnd) {
		this.dateEnd = dateEnd;
	}
	@Column(name="COMPANY",length=150)
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	@Column(name="POST",length=150)
	public String getPost() {
		return post;
	}
	public void setPost(String post) {
		this.post = post;
	}
	@Column(name="PROJECT_SUMMARY",length=500)
	public String getProjectSummary() {
		return projectSummary;
	}
	public void setProjectSummary(String projectSummary) {
		this.projectSummary = projectSummary;
	}
	@Column(name="JOB_DUTIES",length=1500)
	public String getJobDuties() {
		return jobDuties;
	}
	public void setJobDuties(String jobDuties) {
		this.jobDuties = jobDuties;
	}
	@Column(name="MAIN_TECHNICAL",length=1500)
	public String getMainTechnical() {
		return mainTechnical;
	}
	public void setMainTechnical(String mainTechnical) {
		this.mainTechnical = mainTechnical;
	}
}
